#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "deal.h"
#include <QMainWindow>
#include <QThread>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton1_clicked();
    void on_pushButton2_clicked();
    void on_pushButton3_clicked();

    void lunch1Slot();
    void lunch2Slot();
    void lunch3Slot();
signals:
    void lunch1();
    void lunch2();
    void lunch3();
private:
    Ui::MainWindow *ui;
    QThread* thread;
    Deal* myt;
};

#endif // MAINWINDOW_H
